package org.jeecg.modules.job.ums.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.job.ums.entity.UmsBrowse;
import org.jeecg.modules.job.ums.entity.UmsCollect;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @Description: 收藏记录
 * @Author: jeecg-boot
 * @Date:   2022-12-18
 * @Version: V1.0
 */
public interface IUmsCollectService extends IService<UmsCollect> {

    /**
     *  添加或更新收藏信息
     * @param param
     * @return
     */
    boolean addOrUpdate(UmsCollect param);

    /**
     * 分页查询收藏记录
     */
    IPage<UmsCollect> findPageBySpec(Page<UmsCollect> page, UmsCollect param);

}
